package com.backstage.configuration.shiro;

import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * @Project authority
 * @Package com.backstage.configuration.shiro
 * @Data 2017/7/21下午 2:49.
 * @Aurhor 阮雪峰
 */
public class CustomToken extends UsernamePasswordToken {
    private String verifyCode;

    public CustomToken(String username, String password, String verifyCode){
        super(username, password);
        this.verifyCode = verifyCode;
    }
    public String getVerifyCode() {
        return verifyCode;
    }

    public void setVerifyCode(String verifyCode) {
        this.verifyCode = verifyCode;
    }
}
